package com.ruoyi.util.freemarkercreatepdf;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

@Configuration
@PropertySource(value = {"classpath:config/Pdf.properties", "file:./config/Pdf.properties"}, ignoreResourceNotFound = true)
public class PdfConfig {

	@Value("${templates.path}")
	private  String templatesPath;
	@Value("${templates.name}")
	private String templatesName ;
	@Value("${templates.images.path}")
	private String imagesPath;
	@Value("${templates.watermark.path}")
	private String watermarkPath;	
	@Value("${templates.isWatermark}")
	private Boolean isWatermark;
	@Value("${templates.waterNumSqrt}")
	private String waterNumSqrt;
	@Value("${templates.widthOffset}")
	private String widthOffset;
	@Value("${templates.heightOffset}")
	private String heightOffset;
	@Value("${templates.isHeaderFooter}")
	private String isHeaderFooter;
	
	
	public String getTemplatesPath() {
		return templatesPath;
	}
	public String getTemplatesName() {
		return templatesName;
	}
	public String getImagesPath() {
		return imagesPath;
	}
	public String getWatermarkPath() {
		return watermarkPath;
	}
	public Boolean getIsWatermark() {
		return isWatermark;
	}
	public String getWaterNumSqrt() {
		return waterNumSqrt;
	}
	public String getWidthOffset() {
		return widthOffset;
	}
	public String getHeightOffset() {
		return heightOffset;
	}
	public String getIsHeaderFooter() {
		return isHeaderFooter;
	}
	
	
	
	
	
	
	
	
	
	
}
